package com.atguigu.executor;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description
 * @Author: TT
 * @Date: 2022/7/30 21:41
 */
@Data
@ConfigurationProperties(prefix = "thread.pool")
public class MyThreadPoolProperties {
    public Integer corePoolSize=16;
    public Integer maximumPoolSize=32;
    public Long keepAliveTime=50L;
    public Integer queueLength=100;
}

